﻿<%@ Control Language="C#" Inherits="Yuanlin.Business.AquacultureSection_AddPost, Yuanlin.Business"
    AutoEventWireup="true" %>
    <script language="javascript">
    function addPost(){
         var content =getObject('<%= descriptionValuedTextBox.ClientID %>');
         content = content.value.Trim();
         if(content==null||content=="")
         {
               alert('内容不能为空');
               return false;
         }
        return true;
    } 
</script>
<div class="AddInfoArea">
    <div class="moduleHeader moduleHeaderContainer2">
        <h2>
            发表回复</h2>
    </div>
    <div class="moduleFrameCenter" runat="server" id="articleListPlaceHolder">
        <div class="moduleFrameCenterContainer">
            <div class="moduleFrameContent">
                <div class="FormRow">
                    <nwap:ResourceLabel CssClass="FieldName" runat="Server" ControlToLabel="pictureAttachment1"
                        ResourceFile="ControlPanelResources.xml" ResourceName="System_ControlPanel_AquacultureSection_Thread_Picture" />
                    <asp:FileUpload onchange="CheckImage(this)" runat="server" CssClass="InputField MiddleWidth" ID="pictureAttachment1" />
                </div>
                <div class="FormRow">
                    <nwap:ResourceLabel CssClass="FieldName" runat="Server" ControlToLabel="pictureAttachment2"
                        ResourceFile="ControlPanelResources.xml" ResourceName="System_ControlPanel_AquacultureSection_Thread_Picture" />
                    <asp:FileUpload onchange="CheckImage(this)" runat="server" CssClass="InputField MiddleWidth" ID="pictureAttachment2" />
                </div>
                <div class="FormRow">
                    <nwap:ResourceLabel CssClass="FieldName" runat="Server" ControlToLabel="pictureAttachment3"
                        ResourceFile="ControlPanelResources.xml" ResourceName="System_ControlPanel_AquacultureSection_Thread_Picture" />
                    <asp:FileUpload onchange="CheckImage(this)" runat="server" CssClass="InputField MiddleWidth" ID="pictureAttachment3" />
                </div>
                <div class="FormRow">
                    <nwap:ValuedTextBox Runat="server" TextMode="MultiLine" CssClass="InputField" Width="98%" Height="250px" id="descriptionValuedTextBox" />
                </div>
                <div class="FormRow ButtonRow">
                    <nwap:ResourceButton ID="publishedButton" ResourceName="NoLogin" Enabled="false" CssClass="Button"
                        runat="server" Visible="false"></nwap:ResourceButton>
                    <nwap:ResourceButton ID="saveButton" ResourceName="Save" CssClass="Button"
                        runat="server" OnClientClick="return addPost();"></nwap:ResourceButton>
                </div>
                <div class="clear">
                </div>
            </div>
        </div>
    </div>
</div>
